From: Joey Hess Date: Mon, 3 Oct 2022 17:32:55 +0000 (-0400) Subject: improve wording X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~60^2~211 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=99e4dc8d41c36e04582eed4ad20f8c2a90473a4e;p=git-annex.git improve wording This is to improve this case: joey@darkstar:~/tmp/yyyy>git-annex trust git-annex: no remote specified The command does not need to be run with a remote, any repository name will do, including eg "here". Sponsored-by: Brock Spratlen on Patreon --- diff --git a/Remote.hs b/Remote.hs index 71181790e6..0d14d069c5 100644 --- a/Remote.hs +++ b/Remote.hs @@ -144,7 +144,7 @@ byNameWithUUID = checkuuid <=< byName | otherwise = return $ Just r byName' :: RemoteName -> Annex (Either String Remote) -byName' "" = return $ Left "no remote specified" +byName' "" = return $ Left "no repository name specified" byName' n = go . filter matching <$> remoteList where go [] = Left $ "there is no available git remote named \"" ++ n ++ "\""